package com.young.shop.admin.exceptions;

/**
 * 自定义异常父类
 */
public class BaseException extends RuntimeException {
	private int errorCode;

	public BaseException() {
		super();
	}

	public BaseException(int errorCode, String errorMsg) {
		super(errorMsg);
		this.errorCode = errorCode;
	}

	public int getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(int errorCode) {
		this.errorCode = errorCode;
	}
}
